-- CALC_BLOOD_WOLF_BOX_BONUS

-- 血狼副本宝箱奖励
return function(user, bonusArg)
    local rand = DungeonM.getRandSeed("CALC_BLOOD_WOLF_BOX_BONUS") % 100;
    local ret;

    if BuildingBonusM.getFieldStat("blood_wolf_box") < 1 then
        -- 首次5钻
        ret = {2, "gem", 5};
    else
        -- 70%概率金币×10000
        -- 30%概率血狼碎片×3
        if rand < 30 then
            ret = {1, 1721, 3};
        else
            ret = {2, "money", 10000};
        end
    end
    return ret;
end